Skip to content

The checkout portal contract enables buying a Kiwi NFT and delegating your device's key

Notifications You must be signed in to change notification settings

attestate/purchase-delegator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PurchaseDelegator

The checkout portal contract enables buying a Kiwi NFT and delegating your device's key at the same time

Deployment

  • CREATE2 is used to deploy delegator2 to a deterministic address independent of chainId.
  • DEPLOYER: 0x0000000000ffe8b47b3e2130213b802212439497
  • SALT: 0x0000000000000000000000000000000000000000f00df00df00df00df00df00d
  • INITCODE: 0x608060405234801561001057600080fd5b50610473806100206000396000f3fe60806040526004361061001d5760003560e01c8062cc0d1014610022575b600080fd5b610035610030366004610244565b610037565b005b60006100416101bd565b905080341015610064576040516349798bf960e11b815260040160405180910390fd5b60405163e58306f960e01b8152336004820152602481018790527366747bdc903d17c586fa09ee5d6b54cc85bbea45907308b7ecfac2c5754abafb789c84f8fa37c9f088b090829063e58306f9906044016020604051808303816000875af11580156100d4573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906100f891906102f7565b50604051630175507f60e31b81526001600160a01b03821690630baa83f890610125908a90600401610310565b600060405180830381600087803b15801561013f57600080fd5b505af1158015610153573d6000803e3d6000fd5b5050604051731337e2624ffec537087c6774e9a18031cfeaf0a99250349150600081818185875af1925050503d80600081146101ab576040519150601f19603f3d011682016040523d82523d6000602084013e6101b0565b606091505b5050505050505050505050565b6000807366747bdc903d17c586fa09ee5d6b54cc85bbea459050806001600160a01b0316633474a4a66040518163ffffffff1660e01b815260040161016060405180830381865afa158015610216573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061023a9190610384565b6040015191505090565b600080600080600060c0868803121561025c57600080fd5b85359450608086018781111561027157600080fd5b6020870194503567ffffffffffffffff8082111561028e57600080fd5b818801915088601f8301126102a257600080fd5b8135818111156102b157600080fd5b8960208285010111156102c357600080fd5b60209290920194509092505060a08601356001600160a01b03811681146102e957600080fd5b809150509295509295909350565b60006020828403121561030957600080fd5b5051919050565b60608181019083833792915050565b604051610160810167ffffffffffffffff8111828210171561035157634e487b7160e01b600052604160045260246000fd5b60405290565b8051801515811461036757600080fd5b919050565b805167ffffffffffffffff8116811461036757600080fd5b6000610160828403121561039757600080fd5b61039f61031f565b6103a883610357565b81526103b660208401610357565b6020820152604083015160408201526103d16060840161036c565b60608201526103e26080840161036c565b60808201526103f360a0840161036c565b60a082015261040460c0840161036c565b60c082015260e083810151908201526101008084015190820152610120808401519082015261014092830151928101929092525091905056fea26469706673582212200082ff68160260715cf58e564b9145a15a0bed757557c77f9ac5a7c63fc6dec164736f6c63430008110033
  • ADDRESS: 0xe657d8b936ffd1890540e43829c3330c4a93de82
  • Deployed to:
    • Optimism

Updates and verifying on Etherscan

ETHERSCAN_API_KEY=abc forge verify-contract address PurchaseDelegator --watch --chain 10

License

SPDX-License-Identifier: AGPL-3.0

About

The checkout portal contract enables buying a Kiwi NFT and delegating your device's key

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published