-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Adds vault ugprade and deploy scripts
- Loading branch information
Showing
6 changed files
with
224 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,60 @@ | ||
{ | ||
"transactions": [ | ||
{ | ||
"hash": "0xadd9d9eb3eb7167b96104bd1c2176cb0e7a79478293159549c365e4a566e35a2", | ||
"transactionType": "CREATE", | ||
"contractName": "SingleVault", | ||
"contractAddress": "0x9974391fe4196fbea310d3fe01a3d2b8299266e5", | ||
"function": null, | ||
"arguments": null, | ||
"transaction": { | ||
"from": "0x0c6f86b338417b3b7fcb9b344decc51d072919c9", | ||
"gas": "0x25b638", | ||
"value": "0x0", | ||
"input": "0x608060405234801561001057600080fd5b5061001961001e565b6100d0565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00805468010000000000000000900460ff161561006e5760405163f92ee8a960e01b815260040160405180910390fd5b80546001600160401b03908116146100cd5780546001600160401b0319166001600160401b0390811782556040519081527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b50565b6120f580620000e06000396000f3fe6080604052600436106101f25760003560e01c80636e553f651161010d578063b460af94116100a0578063ce96cb771161006f578063ce96cb77146105b4578063d547741f146105d4578063d905777e146105f4578063dd62ed3e14610614578063ef8b30f71461059457600080fd5b8063b460af9414610554578063ba08765214610574578063c63d75b614610428578063c6e6f5921461059457600080fd5b806395d89b41116100dc57806395d89b41146104ea578063a217fddf146104ff578063a9059cbb14610514578063b3d7f6b91461053457600080fd5b80636e553f651461046a57806370a082311461048a57806391d14854146104aa57806394bf804d146104ca57600080fd5b8063248a9ca31161018557806338d52e0f1161015457806338d52e0f146103f3578063402d267d146104285780634cdad506146102b8578063613d25bb1461044a57600080fd5b8063248a9ca31461036c5780632f2ff15d1461038c578063313ce567146103ac57806336568abe146103d357600080fd5b8063095ea7b3116101c1578063095ea7b3146102d85780630a28a477146102f857806318160ddd1461031857806323b872dd1461034c57600080fd5b806301e1d1141461023e57806301ffc9a71461026657806306fdde031461029657806307a2d13a146102b857600080fd5b36610239576101ff610634565b341561020e5761020e3461067e565b61023760017f9b779b17422d0df92223018b32b4d1fa46e071723d6817e2486d003becc55f0055565b005b600080fd5b34801561024a57600080fd5b506102536107a5565b6040519081526020015b60405180910390f35b34801561027257600080fd5b50610286610281366004611a07565b610829565b604051901515815260200161025d565b3480156102a257600080fd5b506102ab610860565b60405161025d9190611a55565b3480156102c457600080fd5b506102536102d3366004611a88565b610923565b3480156102e457600080fd5b506102866102f3366004611ab6565b610930565b34801561030457600080fd5b50610253610313366004611a88565b610948565b34801561032457600080fd5b507f52c63247e1f47db19d5ce0460030c497f067ca4cebf71ba98eeadabe20bace0254610253565b34801561035857600080fd5b50610286610367366004611ae2565b610955565b34801561037857600080fd5b50610253610387366004611a88565b61097b565b34801561039857600080fd5b506102376103a7366004611b23565b61099d565b3480156103b857600080fd5b506103c16109bf565b60405160ff909116815260200161025d565b3480156103df57600080fd5b506102376103ee366004611b23565b6109eb565b3480156103ff57600080fd5b506000805160206120a0833981519152546040516001600160a01b03909116815260200161025d565b34801561043457600080fd5b50610253610443366004611b53565b5060001990565b34801561045657600080fd5b50610237610465366004611c13565b610a23565b34801561047657600080fd5b50610253610485366004611b23565b610b68565b34801561049657600080fd5b506102536104a5366004611b53565b610b8e565b3480156104b657600080fd5b506102866104c5366004611b23565b610bb6565b3480156104d657600080fd5b506102536104e5366004611b23565b610bee565b3480156104f657600080fd5b506102ab610c0c565b34801561050b57600080fd5b50610253600081565b34801561052057600080fd5b5061028661052f366004611ab6565b610c4b565b34801561054057600080fd5b5061025361054f366004611a88565b610c59565b34801561056057600080fd5b5061025361056f366004611c9c565b610c66565b34801561058057600080fd5b5061025361058f366004611c9c565b610cbe565b3480156105a057600080fd5b506102536105af366004611a88565b610d0d565b3480156105c057600080fd5b506102536105cf366004611b53565b610d1a565b3480156105e057600080fd5b506102376105ef366004611b23565b610d2f565b34801561060057600080fd5b5061025361060f366004611b53565b610d4b565b34801561062057600080fd5b5061025361062f366004611cde565b610d56565b7f9b779b17422d0df92223018b32b4d1fa46e071723d6817e2486d003becc55f0080546001190161067857604051633ee5aeb560e01b815260040160405180910390fd5b60029055565b60001961068f565b60405180910390fd5b6000805160206120a0833981519152546001600160a01b031660006106b384610d0d565b90506000826001600160a01b03168560405160006040518083038185875af1925050503d8060008114610702576040519150601f19603f3d011682016040523d82523d6000602084013e610707565b606091505b5050905080610729576040516379cacff160e01b815260040160405180910390fd5b33301461073a5761073a3383610da0565b6040805186815260208101849052339182917fdcbc1c05240f31ff3ad067ef1ee35ce4997762752e3a095284754544f4c709d791015b60405180910390a35050505050565b60017f9b779b17422d0df92223018b32b4d1fa46e071723d6817e2486d003becc55f0055565b6000806000805160206120a083398151915280546040516370a0823160e01b81523060048201529192506001600160a01b0316906370a0823190602401602060405180830381865afa1580156107ff573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108239190611d2d565b91505090565b60006001600160e01b03198216637965db0b60e01b148061085a57506301ffc9a760e01b6001600160e01b03198316145b92915050565b7f52c63247e1f47db19d5ce0460030c497f067ca4cebf71ba98eeadabe20bace0380546060916000805160206120608339815191529161089f90611d46565b80601f01602080910402602001604051908101604052809291908181526020018280546108cb90611d46565b80156109185780601f106108ed57610100808354040283529160200191610918565b820191906000526020600020905b8154815290600101906020018083116108fb57829003601f168201915b505050505091505090565b600061085a826000610dda565b60003361093e818585610e33565b5060019392505050565b600061085a826001610e40565b600033610963858285610e8f565b61096e858585610edc565b60019150505b9392505050565b6000908152600080516020612080833981519152602052604090206001015490565b6109a68261097b565b6109af81610f3b565b6109b98383610f48565b50505050565b6000806000805160206120a08339815191529050600081546108239190600160a01b900460ff16611d96565b6001600160a01b0381163314610a145760405163334bd91960e11b815260040160405180910390fd5b610a1e8282610fed565b505050565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a008054600160401b810460ff16159067ffffffffffffffff16600081158015610a695750825b905060008267ffffffffffffffff166001148015610a865750303b155b905081158015610a94575080155b15610ab25760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff191660011785558315610adc57845460ff60401b1916600160401b1785555b610ae889898989611069565b610af288886110fb565b610afb8961110d565b610b0361111e565b610b0b611128565b610b16600087610f48565b508315610b5d57845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b505050505050505050565b60006000196000610b7885610d0d565b9050610b8633858784611138565b949350505050565b6001600160a01b03166000908152600080516020612060833981519152602052604090205490565b6000918252600080516020612080833981519152602090815260408084206001600160a01b0393909316845291905290205460ff1690565b60006000196000610bfe85610c59565b9050610b8633858388611138565b7f52c63247e1f47db19d5ce0460030c497f067ca4cebf71ba98eeadabe20bace0480546060916000805160206120608339815191529161089f90611d46565b60003361093e818585610edc565b600061085a826001610dda565b600080610c7283610d1a565b905080851115610c9b57828582604051633fa733bb60e21b815260040161068693929190611d0c565b6000610ca686610948565b9050610cb533868689856111b6565b95945050505050565b600080610cca83610d4b565b905080851115610cf357828582604051632e52afbb60e21b815260040161068693929190611d0c565b6000610cfe86610923565b9050610cb5338686848a6111b6565b600061085a826000610e40565b600061085a610d2883610b8e565b6000610dda565b610d388261097b565b610d4181610f3b565b6109b98383610fed565b600061085a82610b8e565b6001600160a01b0391821660009081527f52c63247e1f47db19d5ce0460030c497f067ca4cebf71ba98eeadabe20bace016020908152604080832093909416825291909152205490565b6001600160a01b038216610dca5760405163ec442f0560e01b815260006004820152602401610686565b610dd66000838361126b565b5050565b6000610974610de76107a5565b610df2906001611daf565b610dfe6000600a611ea6565b7f52c63247e1f47db19d5ce0460030c497f067ca4cebf71ba98eeadabe20bace0254610e2a9190611daf565b85919085611396565b610a1e83838360016113e5565b6000610974610e5082600a611ea6565b7f52c63247e1f47db19d5ce0460030c497f067ca4cebf71ba98eeadabe20bace0254610e7c9190611daf565b610e846107a5565b610e2a906001611daf565b6000610e9b8484610d56565b905060001981146109b95781811015610ecd57828183604051637dc7a0d960e11b815260040161068693929190611d0c565b6109b9848484840360006113e5565b6001600160a01b038316610f0657604051634b637e8f60e11b815260006004820152602401610686565b6001600160a01b038216610f305760405163ec442f0560e01b815260006004820152602401610686565b610a1e83838361126b565b610f4581336114c4565b50565b6000600080516020612080833981519152610f638484610bb6565b610fe3576000848152602082815260408083206001600160a01b03871684529091529020805460ff19166001179055610f993390565b6001600160a01b0316836001600160a01b0316857f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a4600191505061085a565b600091505061085a565b60006000805160206120808339815191526110088484610bb6565b15610fe3576000848152602082815260408083206001600160a01b0387168085529252808320805460ff1916905551339287917ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b9190a4600191505061085a565b6001600160a01b038416611090576040516302a7314f60e41b815260040160405180910390fd5b82516000036110b257604051631ff3ed9d60e01b815260040160405180910390fd5b81516000036110d457604051631790aef760e31b815260040160405180910390fd5b6001600160a01b0381166109b95760405163016b8ae160e11b815260040160405180910390fd5b6111036114fd565b610dd68282611546565b6111156114fd565b610f4581611597565b6111266114fd565b565b6111306114fd565b611126611609565b6000805160206120a0833981519152805461115e906001600160a01b0316863086611611565b6111688483610da0565b836001600160a01b0316856001600160a01b03167fdcbc1c05240f31ff3ad067ef1ee35ce4997762752e3a095284754544f4c709d78585604051610770929190918252602082015260400190565b6000805160206120a08339815191526001600160a01b03868116908516146111e3576111e3848784610e8f565b6111ed8483611678565b8054611203906001600160a01b031686856116ae565b836001600160a01b0316856001600160a01b0316876001600160a01b03167ffbde797d201c681b91056529119e0b02407c7bb96a4a2c75c01fc9667232c8db868660405161125b929190918252602082015260400190565b60405180910390a4505050505050565b6000805160206120608339815191526001600160a01b0384166112a7578181600201600082825461129c9190611daf565b909155506113069050565b6001600160a01b038416600090815260208290526040902054828110156112e75784818460405163391434e360e21b815260040161068693929190611d0c565b6001600160a01b03851660009081526020839052604090209083900390555b6001600160a01b038316611324576002810180548390039055611343565b6001600160a01b03831660009081526020829052604090208054830190555b826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8460405161138891815260200190565b60405180910390a350505050565b6000806113a48686866116df565b90506113af836117a3565b80156113cb5750600084806113c6576113c6611eb5565b868809115b15610cb5576113db600182611daf565b9695505050505050565b6000805160206120608339815191526001600160a01b03851661141e5760405163e602df0560e01b815260006004820152602401610686565b6001600160a01b03841661144857604051634a1406b160e11b815260006004820152602401610686565b6001600160a01b038086166000908152600183016020908152604080832093881683529290522083905581156114bd57836001600160a01b0316856001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9258560405161077091815260200190565b5050505050565b6114ce8282610bb6565b610dd65760405163e2517d3f60e01b81526001600160a01b038216600482015260248101839052604401610686565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a0054600160401b900460ff1661112657604051631afcd79f60e31b815260040160405180910390fd5b61154e6114fd565b6000805160206120608339815191527f52c63247e1f47db19d5ce0460030c497f067ca4cebf71ba98eeadabe20bace036115888482611f1b565b50600481016109b98382611f1b565b61159f6114fd565b6000805160206120a08339815191526000806115ba846117d0565b91509150816115ca5760126115cc565b805b83546001600160a81b031916600160a01b60ff92909216919091026001600160a01b031916176001600160a01b0394909416939093179091555050565b61077f6114fd565b6040516001600160a01b0384811660248301528381166044830152606482018390526109b99186918216906323b872dd906084015b604051602081830303815290604052915060e01b6020820180516001600160e01b0383818316178352505050506118ac565b6001600160a01b0382166116a257604051634b637e8f60e11b815260006004820152602401610686565b610dd68260008361126b565b6040516001600160a01b03838116602483015260448201839052610a1e91859182169063a9059cbb90606401611646565b60008383028160001985870982811083820303915050806000036117165783828161170c5761170c611eb5565b0492505050610974565b8084116117365760405163227bc15360e01b815260040160405180910390fd5b6000848688096000868103871696879004966002600389028118808a02820302808a02820302808a02820302808a02820302808a02820302808a02909103029181900381900460010186841190950394909402919094039290920491909117919091029150509392505050565b600060028260038111156117b9576117b9611fdb565b6117c39190611ff1565b60ff166001149050919050565b60408051600481526024810182526020810180516001600160e01b031663313ce56760e01b17905290516000918291829182916001600160a01b0387169161181791612021565b600060405180830381855afa9150503d8060008114611852576040519150601f19603f3d011682016040523d82523d6000602084013e611857565b606091505b509150915081801561186b57506020815110155b1561189f576000818060200190518101906118869190611d2d565b905060ff811161189d576001969095509350505050565b505b5060009485945092505050565b60006118c16001600160a01b0384168361190f565b905080516000141580156118e65750808060200190518101906118e4919061203d565b155b15610a1e57604051635274afe760e01b81526001600160a01b0384166004820152602401610686565b60606109748383600084600080856001600160a01b031684866040516119359190612021565b60006040518083038185875af1925050503d8060008114611972576040519150601f19603f3d011682016040523d82523d6000602084013e611977565b606091505b50915091506113db86838360608261199757611992826119de565b610974565b81511580156119ae57506001600160a01b0384163b155b156119d757604051639996b31560e01b81526001600160a01b0385166004820152602401610686565b5080610974565b8051156119ee5780518082602001fd5b604051630a12f52160e11b815260040160405180910390fd5b600060208284031215611a1957600080fd5b81356001600160e01b03198116811461097457600080fd5b60005b83811015611a4c578181015183820152602001611a34565b50506000910152565b6020815260008251806020840152611a74816040850160208701611a31565b601f01601f19169190910160400192915050565b600060208284031215611a9a57600080fd5b5035919050565b6001600160a01b0381168114610f4557600080fd5b60008060408385031215611ac957600080fd5b8235611ad481611aa1565b946020939093013593505050565b600080600060608486031215611af757600080fd5b8335611b0281611aa1565b92506020840135611b1281611aa1565b929592945050506040919091013590565b60008060408385031215611b3657600080fd5b823591506020830135611b4881611aa1565b809150509250929050565b600060208284031215611b6557600080fd5b813561097481611aa1565b634e487b7160e01b600052604160045260246000fd5b600082601f830112611b9757600080fd5b813567ffffffffffffffff80821115611bb257611bb2611b70565b604051601f8301601f19908116603f01168101908282118183101715611bda57611bda611b70565b81604052838152866020858801011115611bf357600080fd5b836020870160208301376000602085830101528094505050505092915050565b60008060008060808587031215611c2957600080fd5b8435611c3481611aa1565b9350602085013567ffffffffffffffff80821115611c5157600080fd5b611c5d88838901611b86565b94506040870135915080821115611c7357600080fd5b50611c8087828801611b86565b9250506060850135611c9181611aa1565b939692955090935050565b600080600060608486031215611cb157600080fd5b833592506020840135611cc381611aa1565b91506040840135611cd381611aa1565b809150509250925092565b60008060408385031215611cf157600080fd5b8235611cfc81611aa1565b91506020830135611b4881611aa1565b6001600160a01b039390931683526020830191909152604082015260600190565b600060208284031215611d3f57600080fd5b5051919050565b600181811c90821680611d5a57607f821691505b602082108103611d7a57634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b60ff818116838216019081111561085a5761085a611d80565b8082018082111561085a5761085a611d80565b600181815b80851115611dfd578160001904821115611de357611de3611d80565b80851615611df057918102915b93841c9390800290611dc7565b509250929050565b600082611e145750600161085a565b81611e215750600061085a565b8160018114611e375760028114611e4157611e5d565b600191505061085a565b60ff841115611e5257611e52611d80565b50506001821b61085a565b5060208310610133831016604e8410600b8410161715611e80575081810a61085a565b611e8a8383611dc2565b8060001904821115611e9e57611e9e611d80565b029392505050565b600061097460ff841683611e05565b634e487b7160e01b600052601260045260246000fd5b601f821115610a1e576000816000526020600020601f850160051c81016020861015611ef45750805b601f850160051c820191505b81811015611f1357828155600101611f00565b505050505050565b815167ffffffffffffffff811115611f3557611f35611b70565b611f4981611f438454611d46565b84611ecb565b602080601f831160018114611f7e5760008415611f665750858301515b600019600386901b1c1916600185901b178555611f13565b600085815260208120601f198616915b82811015611fad57888601518255948401946001909101908401611f8e565b5085821015611fcb5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b634e487b7160e01b600052602160045260246000fd5b600060ff83168061201257634e487b7160e01b600052601260045260246000fd5b8060ff84160691505092915050565b60008251612033818460208701611a31565b9190910192915050565b60006020828403121561204f57600080fd5b8151801515811461097457600080fdfe52c63247e1f47db19d5ce0460030c497f067ca4cebf71ba98eeadabe20bace0002dd7bc7dec4dceedda775e58dd541e08a116c6c53815c0bd028192f7b6268000773e532dfede91f04b12a73d3d2acd361424f41f76b4fb79f090161e36b4e00a26469706673582212207336f31f1c03d35e80cfa14b908bc0f40359b2451cd70f357a2aab850707f94764736f6c63430008180033", | ||
"nonce": "0xc8", | ||
"chainId": "0x4268" | ||
}, | ||
"additionalContracts": [], | ||
"isFixedGasLimit": false | ||
} | ||
], | ||
"receipts": [ | ||
{ | ||
"status": "0x1", | ||
"cumulativeGasUsed": "0x7f076b", | ||
"logs": [ | ||
{ | ||
"address": "0x9974391fe4196fbea310d3fe01a3d2b8299266e5", | ||
"topics": [ | ||
"0xc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2" | ||
], | ||
"data": "0x000000000000000000000000000000000000000000000000ffffffffffffffff", | ||
"blockHash": "0x182e9b6fce21144218be9b3731deb0f9cf3ee41360aa4d17b350412787cb8c3c", | ||
"blockNumber": "0x28c64e", | ||
"transactionHash": "0xadd9d9eb3eb7167b96104bd1c2176cb0e7a79478293159549c365e4a566e35a2", | ||
"transactionIndex": "0x12", | ||
"logIndex": "0x12", | ||
"removed": false | ||
} | ||
], | ||
"logsBloom": "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000200000000000000000000080000000800000000000000000000000080000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000002000000000000000000000", | ||
"type": "0x2", | ||
"transactionHash": "0xadd9d9eb3eb7167b96104bd1c2176cb0e7a79478293159549c365e4a566e35a2", | ||
"transactionIndex": "0x12", | ||
"blockHash": "0x182e9b6fce21144218be9b3731deb0f9cf3ee41360aa4d17b350412787cb8c3c", | ||
"blockNumber": "0x28c64e", | ||
"gasUsed": "0x1d0471", | ||
"effectiveGasPrice": "0x39d1068d", | ||
"from": "0x0c6f86b338417b3b7fcb9b344decc51d072919c9", | ||
"to": null, | ||
"contractAddress": "0x9974391fe4196fbea310d3fe01a3d2b8299266e5" | ||
} | ||
], | ||
"libraries": [], | ||
"pending": [], | ||
"returns": {}, | ||
"timestamp": 1730736870, | ||
"chain": 17000, | ||
"commit": "2911c19" | ||
} |
Oops, something went wrong.