Skip to content

Commit

Permalink
Merge pull request #46 from multiversx/feat/upgradable-contracts
Browse files Browse the repository at this point in the history
  • Loading branch information
dragos-rebegea authored Aug 22, 2024
2 parents 3b68d1d + 6fde9b0 commit 5053053
Show file tree
Hide file tree
Showing 74 changed files with 3,417 additions and 41,732 deletions.
1,260 changes: 630 additions & 630 deletions .yarn/releases/yarn-1.22.22.cjs

Large diffs are not rendered by default.

63 changes: 44 additions & 19 deletions abi/contracts/Bridge/Bridge.abi.json
Original file line number Diff line number Diff line change
@@ -1,24 +1,13 @@
[
{
"inputs": [
{
"internalType": "address[]",
"name": "board",
"type": "address[]"
},
{
"internalType": "uint256",
"name": "initialQuorum",
"type": "uint256"
},
{
"internalType": "contract ERC20Safe",
"name": "erc20Safe",
"type": "address"
}
],
"stateMutability": "nonpayable",
"type": "constructor"
"inputs": [],
"name": "InvalidInitialization",
"type": "error"
},
{
"inputs": [],
"name": "NotInitializing",
"type": "error"
},
{
"anonymous": false,
Expand All @@ -39,6 +28,19 @@
"name": "AdminRoleTransferred",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": false,
"internalType": "uint64",
"name": "version",
"type": "uint64"
}
],
"name": "Initialized",
"type": "event"
},
{
"anonymous": false,
"inputs": [
Expand Down Expand Up @@ -389,6 +391,29 @@
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "address[]",
"name": "board",
"type": "address[]"
},
{
"internalType": "uint256",
"name": "initialQuorum",
"type": "uint256"
},
{
"internalType": "contract ERC20Safe",
"name": "erc20Safe",
"type": "address"
}
],
"name": "initialize",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
Expand Down
157 changes: 156 additions & 1 deletion abi/contracts/Bridge/Bridge.go

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion abi/contracts/Bridge/Bridge.hex

Large diffs are not rendered by default.

67 changes: 46 additions & 21 deletions abi/contracts/Bridge/Bridge.json

Large diffs are not rendered by default.

30 changes: 30 additions & 0 deletions abi/contracts/ERC20Safe/ERC20Safe.abi.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,16 @@
"name": "FailedInnerCall",
"type": "error"
},
{
"inputs": [],
"name": "InvalidInitialization",
"type": "error"
},
{
"inputs": [],
"name": "NotInitializing",
"type": "error"
},
{
"inputs": [
{
Expand Down Expand Up @@ -119,6 +129,19 @@
"name": "ERC20SCDeposit",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": false,
"internalType": "uint64",
"name": "version",
"type": "uint64"
}
],
"name": "Initialized",
"type": "event"
},
{
"anonymous": false,
"inputs": [
Expand Down Expand Up @@ -534,6 +557,13 @@
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [],
"name": "initialize",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [],
"name": "isAnyBatchInProgress",
Expand Down
157 changes: 156 additions & 1 deletion abi/contracts/ERC20Safe/ERC20Safe.go

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion abi/contracts/ERC20Safe/ERC20Safe.hex

Large diffs are not rendered by default.

34 changes: 32 additions & 2 deletions abi/contracts/ERC20Safe/ERC20Safe.json

Large diffs are not rendered by default.

67 changes: 46 additions & 21 deletions abi/contracts/MintBurnERC20/MintBurnERC20.abi.json
Original file line number Diff line number Diff line change
@@ -1,25 +1,4 @@
[
{
"inputs": [
{
"internalType": "string",
"name": "name",
"type": "string"
},
{
"internalType": "string",
"name": "symbol",
"type": "string"
},
{
"internalType": "uint8",
"name": "providedNumDecimals",
"type": "uint8"
}
],
"stateMutability": "nonpayable",
"type": "constructor"
},
{
"inputs": [],
"name": "AccessControlBadConfirmation",
Expand Down Expand Up @@ -138,6 +117,16 @@
"name": "ERC20InvalidSpender",
"type": "error"
},
{
"inputs": [],
"name": "InvalidInitialization",
"type": "error"
},
{
"inputs": [],
"name": "NotInitializing",
"type": "error"
},
{
"anonymous": false,
"inputs": [
Expand All @@ -163,6 +152,19 @@
"name": "Approval",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": false,
"internalType": "uint64",
"name": "version",
"type": "uint64"
}
],
"name": "Initialized",
"type": "event"
},
{
"anonymous": false,
"inputs": [
Expand Down Expand Up @@ -461,6 +463,29 @@
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "string",
"name": "name",
"type": "string"
},
{
"internalType": "string",
"name": "symbol",
"type": "string"
},
{
"internalType": "uint8",
"name": "providedNumDecimals",
"type": "uint8"
}
],
"name": "initialize",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
Expand Down
157 changes: 156 additions & 1 deletion abi/contracts/MintBurnERC20/MintBurnERC20.go

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion abi/contracts/MintBurnERC20/MintBurnERC20.hex

Large diffs are not rendered by default.

71 changes: 48 additions & 23 deletions abi/contracts/MintBurnERC20/MintBurnERC20.json

Large diffs are not rendered by default.

107 changes: 107 additions & 0 deletions abi/contracts/Proxy/Proxy.abi.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,107 @@
[
{
"inputs": [
{
"internalType": "address",
"name": "_logic",
"type": "address"
},
{
"internalType": "address",
"name": "initialOwner",
"type": "address"
},
{
"internalType": "bytes",
"name": "_data",
"type": "bytes"
}
],
"stateMutability": "payable",
"type": "constructor"
},
{
"inputs": [
{
"internalType": "address",
"name": "target",
"type": "address"
}
],
"name": "AddressEmptyCode",
"type": "error"
},
{
"inputs": [
{
"internalType": "address",
"name": "admin",
"type": "address"
}
],
"name": "ERC1967InvalidAdmin",
"type": "error"
},
{
"inputs": [
{
"internalType": "address",
"name": "implementation",
"type": "address"
}
],
"name": "ERC1967InvalidImplementation",
"type": "error"
},
{
"inputs": [],
"name": "ERC1967NonPayable",
"type": "error"
},
{
"inputs": [],
"name": "FailedInnerCall",
"type": "error"
},
{
"inputs": [],
"name": "ProxyDeniedAdminAccess",
"type": "error"
},
{
"anonymous": false,
"inputs": [
{
"indexed": false,
"internalType": "address",
"name": "previousAdmin",
"type": "address"
},
{
"indexed": false,
"internalType": "address",
"name": "newAdmin",
"type": "address"
}
],
"name": "AdminChanged",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": true,
"internalType": "address",
"name": "implementation",
"type": "address"
}
],
"name": "Upgraded",
"type": "event"
},
{
"stateMutability": "payable",
"type": "fallback"
}
]
Loading

0 comments on commit 5053053

Please sign in to comment.