0 txs
3 calls
constructor
No constructor.
functions
accountToOwner
viewfunction accountToOwner(address) view returns (address)
accountToParentEntity
viewfunction accountToParentEntity(address) view returns (bytes16)
checkSignaturePolicy
viewfunction checkSignaturePolicy(bytes32 id, address sender, bytes32 hash, bytes sig) view returns (uint256)
isInitialized
viewfunction isInitialized(address wallet) view returns (bool)
isModuleType
purefunction isModuleType(uint256 id) pure returns (bool)
operationsPerAccount
viewfunction operationsPerAccount(bytes32 callDataAndNonceHash) view returns (uint8 opType, uint8 status, uint48 validAfter, uint48 validUntil)
status
viewfunction status(bytes32) view returns (uint8)
usedIds
viewfunction usedIds(address) view returns (uint256)
checkUserOpPolicy
payablefunction checkUserOpPolicy(bytes32 id, tuple userOp) payable returns (uint256)
init
nonpayablefunction init(address contractRegistry, address tokenRegistry)
onInstall
payablefunction onInstall(bytes data) payable
onUninstall
payablefunction onUninstall(bytes data) payable
request
nonpayablefunction request(address wallet, uint256 nonce, bytes callData) returns (uint48)
setParentEntity
nonpayablefunction setParentEntity(address account, bytes16 parentEntity)
updateDelayConfiguration
nonpayablefunction updateDelayConfiguration(uint48 normalDelay, uint48 longDelay, uint48 operationValidity)
events
AccountChangesExecuted
event AccountChangesExecuted(bytes16 parentEntity, address account)
AccountChangesRequested
event AccountChangesRequested(bytes16 parentEntity, address account)
ApprovedForBridge
event ApprovedForBridge(bytes16 parentEntity, address account, address spenderAddress, uint256 spendAmount)
BridgeCCTPRequest
event BridgeCCTPRequest(bytes16 parentEntity, address account, address token, address recipient, uint256 amount, uint256 dstChainId, uint48 validAfter, uint48 validUntil, bytes32 callDataAndNonceHash, bytes callData)
CCTPBridgeExecuted
event CCTPBridgeExecuted(bytes16 parentEntity, address account, address recipient, uint256 amount, uint256 dstChain)
ErcApprovalExecuted
event ErcApprovalExecuted(bytes16 parentEntity, address account, address token, address to)
ErcWithdrawalExecuted
event ErcWithdrawalExecuted(bytes16 parentEntity, bytes32 callDataAndNonceHash)
ErcWithdrawalRequested
event ErcWithdrawalRequested(bytes16 parentEntity, address account, address token, address to, uint256 amount, uint48 validAfter, uint48 validUntil, bytes32 callDataAndNonceHash, bytes callData)
Initialized
event Initialized(uint64 version)
SyntheticBridgedHLExecuted
event SyntheticBridgedHLExecuted(bytes16 parentEntity, address account, address recipient, uint256 amount, uint256 dstChain, address token)
SyntheticBridgedLZExecuted
event SyntheticBridgedLZExecuted(bytes16 parentEntity, address account, address recipient, uint256 amount, uint256 dstChain, address refundAddress, bytes callDataLz, address token)
SyntheticBridgeHLRequest
event SyntheticBridgeHLRequest(bytes16 parentEntity, address account, address token, address recipient, uint256 amount, uint256 dstChainId, uint48 validAfter, uint48 validUntil, bytes32 callDataAndNonceHash, bytes callData)
SyntheticBridgeLZRequest
event SyntheticBridgeLZRequest(bytes16 parentEntity, address account, address token, address recipient, uint256 amount, uint256 dstChainId, uint256 lzFees, address refundAddress, bytes callDataLZ, uint48 validAfter, uint48 validUntil, bytes32 callDataAndNonceHash, bytes callData)
SyntheticUnwrapExecuted
event SyntheticUnwrapExecuted(bytes16 parentEntity, address account, address syntheticAddress, uint256 unwrapedAmount)
SyntheticUnwrapRequest
event SyntheticUnwrapRequest(bytes16 parentEntity, address account, address token, uint256 amount, uint48 validAfter, uint48 validUntil, bytes32 callDataAndNonceHash, bytes callData)
SyntheticWrapExecuted
event SyntheticWrapExecuted(bytes16 parentEntity, address account, address token, uint256 amount)
errors
AlreadyInitialized
error AlreadyInitialized(address smartAccount)
InvalidInitialization
error InvalidInitialization()
NotInitialized
error NotInitialized(address smartAccount)
NotInitializing
error NotInitializing()
creation bytecode
0x6080806040523461001657611b6b908161001c8239f35b600080fdfe608080604052600436101561001357600080fd5b60003560e01c908163244d6cb214610f0357508063309bfb7614610e80578063406d990414610ad45780634a4fa0b614610a8e57806352ad0d5e14610a56578063625b3b5b1461095f57806365597721146107eb5780636d61fe7014610467578063709fdab7146103e45780637129edce1461039f5780638086a312146103645780638a91b0e314610299578063d60b347f1461025d578063ecd059611461023d5763f09a4016146100c457600080fd5b34610238576040366003190112610238576100dd610f39565b6100e5610f4f565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a0080549092604082901c60ff161592916001600160401b03811680159081610230575b6001149081610226575b15908161021d575b5061020b576001600160401b031981166001178555836101f0575b5060018054600080546001600160a01b0319166001600160a01b039586161790556001600160d01b0319169190921617604b60a21b176001600160d01b03166102a360d71b1790556002805465ffffffffffff1916610e101790556101b657005b805460ff60401b19169055604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d290602090a1005b6001600160481b0319166001600160401b0117845538610155565b60405163f92ee8a960e01b8152600490fd5b9050153861013a565b303b159150610132565b859150610128565b600080fd5b346102385760203660031901126102385760206040516005600435148152f35b34610238576020366003190112610238576001600160a01b0361027e610f39565b16600052600460205260206040600020541515604051908152f35b602080600319360112610238576004356001600160401b038111610238576102c5903690600401610f65565b82919211610238576004916040516102f5816102e78582019433903586610f9c565b03601f198101835282610fba565b519020806000526003825261031d600160ff6040600020541661031781610f92565b1461103b565b600052600381526040600020600260ff19825416179055336000525260406000208054801561034e57600019019055005b634e487b7160e01b600052601160045260246000fd5b346102385760203660031901126102385760206001600160a01b0380610388610f39565b166000526007825260406000205416604051908152f35b60031960403682011261023857602435906001600160401b03821161023857610120908236030112610238576103dc6020916004016004356111d9565b604051908152f35b3461023857602036600319011261023857600435600052600560205260406000205460ff81169060ff8160081c169065ffffffffffff9060405192600c85101561045157608094845261043681610f92565b6020840152818160101c16604084015260401c166060820152f35b634e487b7160e01b600052602160045260246000fd5b602080600319360112610238576001600160401b039060043582811161023857610495903690600401610f65565b8211610238576040516104b2816102e78582019433903586610f9c565b5190208060005260038252600160ff604060002054166104d181610f92565b146107b55760405163f1f7f0f960e01b81528281600481335afa90811561076b57600091610777575b5060405163187cb12f60e31b815260089190911b6001600160e01b03191660048201526024936000828681335afa90811561076b5760009161064f575b50604091500160018151510361060057518051156105eb5782015160501c6001600160a01b031630036105975760049250600052600381526040600020600160ff1982541617905533600052526040600020610593815461154c565b9055005b5060286084926040519262461bcd60e51b845260048401528201527f506f6c696379206973206e6f742074686520657865637574696f6e2064656c616044820152677920706f6c69637960c01b6064820152fd5b83634e487b7160e01b60005260326004526000fd5b60405162461bcd60e51b8152600481018490526022818601527f506f6c6963792064617461206973206e6f742061732069742073686f756c6420604482015261626560f01b6064820152608490fd5b90503d806000843e6106618184610fba565b820191848184031261023857805190828211610238570191606083820312610238576040519260608401848110848211176107565760405280516001600160f01b0319811681036102385784526106b98682016117b3565b86850152604081015190838211610238570181601f82011215610238578051928311610741578260051b90604051936106f488840186610fba565b84528680850192820101928311610238578601905b82821061072157505050906040918282015285610537565b81516001600160501b031981168103610238578152908601908601610709565b86634e487b7160e01b60005260416004526000fd5b87634e487b7160e01b60005260416004526000fd5b6040513d6000823e3d90fd5b90508281813d83116107ae575b61078e8183610fba565b8101031261023857516001600160581b03198116810361023857846104fa565b503d610784565b60405162461bcd60e51b815260048101839052600e60248201526d506f6c696379206973206c69766560901b6044820152606490fd5b3461023857604036600319011261023857610804610f39565b602435906001600160801b0319908183168084036102385760018060a01b038060015416926040518094632b65015160e01b8252816064602097889384600483015260086024830152674163636f756e747360c01b60448301525afa90811561076b5760009161092a575b50821633148015610913575b6108849061114c565b169081600052600683528360406000205460801b16908115918215610909575b5050156108c857906006916000525260406000209160801c90825416179055600080f35b60405162461bcd60e51b815260048101839052601960248201527814185c995b9d08195b9d1a5d1e48185b1c9958591e481cd95d603a1b6044820152606490fd5b14905085806108a4565b5061088433836109216117c7565b1614905061087b565b90508481813d8311610958575b6109418183610fba565b8101031261023857610952906117b3565b8761086f565b503d610937565b346102385760603660031901126102385765ffffffffffff600435818116810361023857602435828116810361023857604435928316809303610238576001546040516303e1469160e61b81526001600160a01b039182169291602082600481875afa90811561076b57600091610a19575b6109de925016331461114c565b60a09290921b65ffffffffffff60a01b161760d09190911b6001600160d01b031916176001556002805465ffffffffffff1916919091179055005b90506020823d602011610a4e575b81610a3460209383610fba565b8101031261023857610a486109de926117b3565b906109d1565b3d9150610a27565b34610238576020366003190112610238576004356000526003602052602060ff6040600020541660405190610a8a81610f92565b8152f35b34610238576020366003190112610238576001600160a01b03610aaf610f39565b166000526006602052602060406000205460801b6040519060018060801b0319168152f35b3461023857606036600319011261023857610aed610f39565b6044356001600160401b03811161023857610b0c903690600401610f65565b90610b21336001600160a01b03851614610ff3565b6001600160a01b038316600090815260046020526040902054610b4590151561103b565b6040516020810190610b60816102e760243587878a8861109a565b5190209081600052600560205260406000209283549260ff8460081c16610b8681610f92565b610e3d57610b9582848861155b565b938451600c811015610451576001610bae9114156110c5565b8451600c811015610451576002141580610e28575b15610dd8578451600c81101561045157600303610dc45760015460d01c905b855190600c82101561045157610100610c199160ff67ffffffffffff000094169061ffff191617179265ffffffffffff421661110e565b60101b168067ffffffffffff000019831617808855610c5265ffffffffffff60401b9165ffffffffffff80600254169160101c1661110e565b60401b169162010000600160701b03191617178095558351600c81101561045157600403610d52576001600160a01b039586166000818152600660209081526040918290205487820151888401516060998a015185516001600160801b0319608095861b16815280860197909752918c1686860152909a16978401979097529582019790975265ffffffffffff601087901c811660a08301529686901c90961660c087015260e0860152610120610100860181905292947fd33e5232fe4b35f478759a74a40fefc7324542c9793506c603f7fa0bd4d700739390928392610d3b92840191611079565b0390a15b65ffffffffffff6040519160101c168152f35b5050505191600c83101561045157600360209314610d71575b50610d3f565b7f6212a305b01ffcefd81227e218438b0e2e3f924db6d6c26a930f27587cdbbef29060018060a01b0381166000526006845260406000205460801b610dbb60405192839283611128565b0390a182610d6b565b65ffffffffffff60015460a01c1690610be2565b60405162461bcd60e51b815260206004820152602260248201527f4f7065726174696f6e20646f6573206e6f7420726571756972652072657175656044820152611cdd60f21b6064820152608490fd5b508451600c8110156104515760051415610bc3565b60405162461bcd60e51b815260206004820152601b60248201527a13dc195c985d1a5bdb88185b1c9958591e481c995c5d595cdd1959602a1b6044820152606490fd5b3461023857608036600319011261023857610e99610f4f565b506064356001600160401b03811161023857610eb9903690600401610f65565b50506040516020810190610ed4816102e73360043586610f9c565b5190206000526003602052600160ff60406000205416610ef381610f92565b0361023857602060405160008152f35b34610238576020366003190112610238576020906001600160a01b03610f27610f39565b16600052600482526040600020548152f35b600435906001600160a01b038216820361023857565b602435906001600160a01b038216820361023857565b9181601f84011215610238578235916001600160401b038311610238576020838186019501011161023857565b6003111561045157565b90815260609190911b6001600160601b031916602082015260340190565b601f909101601f19168101906001600160401b03821190821017610fdd57604052565b634e487b7160e01b600052604160045260246000fd5b15610ffa57565b60405162461bcd60e51b815260206004820152601960248201527821b0b71037b7363c903932b8bab2b9ba103337b91039b2b63360391b6044820152606490fd5b1561104257565b60405162461bcd60e51b815260206004820152600f60248201526e506f6c696379206e6f74206c69766560881b6044820152606490fd5b908060209392818452848401376000828201840152601f01601f1916010190565b949392916040926110c09260018060a01b03168752606060208801526060870191611079565b930152565b156110cc57565b60405162461bcd60e51b815260206004820152601a60248201527913dc195c985d1a5bdb881a5cc81b9bdd081c195c9b5a5d1d195960321b6044820152606490fd5b91909165ffffffffffff8080941691160191821161034e57565b6001600160801b031990911681526001600160a01b03909116602082015260400190565b1561115357565b60405162461bcd60e51b815260206004820152601860248201527710d85b1b195c881a5cc81b9bdd08185d5d1a1bdc9a5e995960421b6044820152606490fd5b356001600160a01b03811681036102385790565b903590601e198136030182121561023857018035906001600160401b0382116102385760200191813603831361023857565b6001600160a01b036111f6816111ee85611193565b163314610ff3565b60409081516020938161120e86820192339084610f9c565b0391611222601f1993848101835282610fba565b51902094600095865260038552611244600160ff868920541661031781610f92565b61124d81611193565b91606082019261128661126085856111a7565b61127a89959295519485928c8401978d8a0135928961109a565b03908101835282610fba565b519020808752600586528487205490600160ff8360081c166112a781610f92565b146113eb5750506112c2916112bb916111a7565b903361155b565b928351600c8110156113735760016112db9114156110c5565b8351600c8110156113735760041415806113d6575b15611387578351600c8110156113735760051461130f575b5050505090565b7f39bf1738d6da25fd292f9177a7351ed6099161d31639a35c357152fa31a7c4ed93608093338752600683528087205493818185850151169301511692815194600180881b031990871b16855233908501528301526060820152a138808080611308565b634e487b7160e01b86526021600452602486fd5b60849083519062461bcd60e51b82526004820152602360248201527f4f7065726174696f6e2073686f756c64206265207265717565737465642066696044820152621c9cdd60ea1b6064820152fd5b508351600c81101561137357600314156112f0565b9250809695935060ff915016600c8110156114cb5760059291906004810361147d5750338552600682527f8a2ee9ae4cd62c4b3284976a4ce853342150465dfa6677a6a8ca0d5589a3931e848087205460801b81519060018060801b03191681528385820152a15b84525281205560c081901b6001600160d01b03191660609190911b65ffffffffffff60a01b161790565b60030361145357338552600682527f34dd6ee067830eec3490e58e507f76ac02528a624009babf62dd22fce77ab7de6114c38587205460801b8651918291339083611128565b0390a1611453565b634e487b7160e01b85526021600452602485fd5b60405190608082016001600160401b03811183821017610fdd5760405260006060838281528260208201528260408201520152565b91908110156115365760051b81013590605e1981360301821215610238570190565b634e487b7160e01b600052603260045260246000fd5b600019811461034e5760010190565b9190916115666114df565b90609c83106117a857600491836004116102385784356001600160e01b031916639517e29f60e01b81148015611798575b8015611788575b8015611778575b8015611768575b61175b5763e9ae5c5360e01b0361174f576024938411610238578385013585019380850193600486013596600460ff60f81b910135168015600014611619575050505083601411610238578360341161023857611616936033190192605801913560601c9061185b565b90565b92965090949293909291600160f81b0361174357939291933501918060448401930135906116456114df565b946000946000945b84861061166f575050505050501560001461166a57506002815290565b905090565b909192939497506116ab61168c6116878a8886611514565b611193565b6116a461169a8b8987611514565b60408101906111a7565b918461185b565b978851600c908181101561172f576002036116cf575b50600101949392919061164d565b9690975088519687101561171b57600180971461170e576116ef9061154c565b958087116117015750879660016116c1565b9650505050505050815290565b5050505050509050815290565b84602185634e487b7160e01b600052526000fd5b86602187634e487b7160e01b600052526000fd5b50505050506001815290565b93505050506001815290565b5093505050506003815290565b50637379ea8560e11b81146115ac565b50639198bdf560e01b81146115a5565b506352141cd960e01b811461159e565b506314e2ec7560e31b8114611597565b506001815292915050565b51906001600160a01b038216820361023857565b600154604051632b65015160e01b81526020600482018190526011602483015270436f72706f726174654163636f756e747360781b60448301529091829060649082906001600160a01b03165afa90811561076b57600091611827575090565b90506020813d602011611853575b8161184260209383610fba565b8101031261023857611616906117b3565b3d9150611835565b9190926118666114df565b9360209160018060a01b03809216948584880152600491828110611b275782116102385784356001600160e01b031916908115611b275783168614611aa357826118ae6117c7565b168614611a42575b600090838254168560409860248a518094819363639bc78f60e11b8352898301525afa908115611a385783916119fe575b50156119c85763a9059cbb60e01b036119bb57606490828852848460015416885193848092632b65015160e01b82528488830152600b60248301526a233ab73239a13ab33332b960a91b60448301525afa9485156119af578195611970575b505050830135811691168114611966576024928401520135606082015290565b5050506002815290565b909180939550813d83116119a8575b6119898183610fba565b810103126119a5575061199c82916117b3565b92903880611946565b80fd5b503d61197f565b508651903d90823e3d90fd5b5050505050506001815290565b919593505063095ea7b360e01b146119e557505050506002815290565b6024936005865283013516908401520135606082015290565b90508581813d8311611a31575b611a158183610fba565b81010312611a2d57518015158103611a2d57386118e7565b8280fd5b503d611a0b565b88513d85823e3d90fd5b6337e396d760e01b81148015611a93575b8015611a83575b8015611a73575b156118b6575050505050506003815290565b5063af8f51ad60e01b8114611a61565b50637a25898f60e11b8114611a5a565b5063c2d82b5b60e01b8114611a53565b945050505050639517e29f60e01b8114908115611b16575b8115611b05575b8115611af4575b8115611ae3575b50611adc576001815290565b6003815290565b637379ea8560e11b14905038611ad0565b639198bdf560e01b81149150611ac9565b6352141cd960e01b81149150611ac2565b6314e2ec7560e31b81149150611abb565b50505050505050600281529056fea26469706673582212206fc904ad6f21735c7dcde01b43aa1d55d3f764a8b42aec3f465530391166e2bc64736f6c63430008170033